package com.example.bzh.gamecat.ui.live.newest;

import com.example.bzh.gamecat.bean.newest.DistractionListBean;
import com.example.bzh.gamecat.bean.newest.Newest;
import com.example.bzh.gamecat.httputils.newestutils.NewestHttpUtil;
import com.example.bzh.gamecat.mvp.IBaseModel;
import com.example.bzh.gamecat.mvp.IBasePresenter;
import com.example.bzh.gamecat.mvp.IBaseView;

import java.util.HashMap;
import java.util.List;

/**
 * Created by lenovo on 2016/8/18.
 */
public class NewestContract {
    public interface View extends IBaseView{
        public void onSuccess(List<DistractionListBean> distractionListBeanList);
        public void onFail(String msg);
    }

    public interface Model extends IBaseModel{
        public void getInitData(HashMap<String,String> params, NewestHttpUtil.HttpCallBack<Newest> newestHttpCallBack);
    }

    public interface Presenter extends IBasePresenter{
        public void initData(HashMap<String,String> params);
    }
}
